#Boa:Dialog:DlgLabelChoice

import wx

def create(parent):
    return DlgLabelChoice(parent)

[wxID_DLGLABELCHOICE, wxID_DLGLABELCHOICEBTNDEL, wxID_DLGLABELCHOICEBTNNEW, 
 wxID_DLGLABELCHOICEBTNOK, wxID_DLGLABELCHOICEBTNREINIT, 
] = [wx.NewId() for _init_ctrls in range(5)]

[T_PRODUCT, T_CUNSTOMER] = [0, 1]


class DlgLabelChoice(wx.Dialog):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Dialog.__init__(self, id=wxID_DLGLABELCHOICE, name=u'DlgLabelChoice',
              parent=prnt, pos=wx.Point(576, 270), size=wx.Size(400, 250),
              style=wx.DEFAULT_DIALOG_STYLE, title=u'\u6807\u7b7e\u8bbe\u7f6e')
        self.SetClientSize(wx.Size(392, 216))
        self.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD, False, u'Arial'))

        self.btnReinit = wx.Button(id=wxID_DLGLABELCHOICEBTNREINIT,
              label=u'\u91cd\u7f6e', name=u'btnReinit', parent=self,
              pos=wx.Point(216, 0), size=wx.Size(86, 29), style=0)
        self.btnReinit.Bind(wx.EVT_BUTTON, self.OnBtnReinitButton,
              id=wxID_DLGLABELCHOICEBTNREINIT)

        self.btnOK = wx.Button(id=wxID_DLGLABELCHOICEBTNOK,
              label=u'\u5b8c\u6210', name=u'btnOK', parent=self,
              pos=wx.Point(304, 0), size=wx.Size(86, 29), style=0)
        self.btnOK.Bind(wx.EVT_BUTTON, self.OnBtnOKButton,
              id=wxID_DLGLABELCHOICEBTNOK)

        self.btnNew = wx.Button(id=wxID_DLGLABELCHOICEBTNNEW,
              label=u'\u65b0\u589e', name=u'btnNew', parent=self,
              pos=wx.Point(8, 0), size=wx.Size(86, 29), style=0)
        self.btnNew.Bind(wx.EVT_BUTTON, self.OnBtnNewButton,
              id=wxID_DLGLABELCHOICEBTNNEW)

        self.btnDel = wx.Button(id=wxID_DLGLABELCHOICEBTNDEL,
              label=u'\u5220\u9664', name=u'btnDel', parent=self,
              pos=wx.Point(104, 0), size=wx.Size(86, 29), style=0)
        self.btnDel.Bind(wx.EVT_BUTTON, self.OnBtnDelButton,
              id=wxID_DLGLABELCHOICEBTNDEL)

    def __init__(self, parent):
        self._init_ctrls(parent)

        self.SetSize(self.GetBestSize())

    def OnBtnReinitButton(self, event):
        event.Skip()

    def OnBtnOKButton(self, event):
        event.Skip()

    def OnBtnNewButton(self, event):
        event.Skip()

    def OnBtnDelButton(self, event):
        event.Skip()
